﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TinyPMS_Jerusalem.Models.DBModel.Property>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	删除物品
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>删除物品</h2>

    <h3>您确定要删除此物品吗？</h3>
    <fieldset>
        <legend>物品信息</legend>
        
        <div class="display-label">ID</div>
        <div class="display-field"><%= Html.Encode(Model.ID) %></div>
        
        <div class="display-label">Name</div>
        <div class="display-field"><%= Html.Encode(Model.Name) %></div>
        
        <div class="display-label">Introduction</div>
        <div class="display-field"><%= Html.Encode(Model.Introduction) %></div>
        
        <div class="display-label">Available</div>
        <div class="display-field"><%= Html.Encode(Model.Available) %></div>
        
        <div class="display-label">Status</div>
        <div class="display-field"><%= Html.Encode(Model.Status) %></div>
        
        <div class="display-label">Category</div>
        <div class="display-field"><%= Html.Encode(Model.Category) %></div>
        
        <div class="display-label">Tags</div>
        <div class="display-field"><%= Html.Encode(Model.Tags) %></div>
        
        <div class="display-label">MaxRenewCount</div>
        <div class="display-field"><%= Html.Encode(Model.MaxRenewCount) %></div>
        
        <div class="display-label">Price</div>
        <div class="display-field"><%= Html.Encode(Model.Price) %></div>
        
        <div class="display-label">Duration</div>
        <div class="display-field"><%= Html.Encode(Model.Duration) %></div>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="删除" /> |
		    <%= Html.ActionLink("返回列表", "ListAll","Property")%>
        </p>
    <% } %>

</asp:Content>

